export class Name {
    ug = ""
    zh = ""
    en = ""
    kz = ""
    ru = ""

    constructor(_ug = "", _zh = "", _en = "", _kz = "", _ru = ""){

    }

    static isValid(obj){
        let valid = obj.ug != null
        valid &= obj.en != null
        valid &= obj.zh != null
        valid &= obj.kz != null
        valid &= obj.ru != null

        if (!valid) console.error("Object must be contain {ug, kz, zh, en, ru} membres")
        return valid
    }
}